<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

<c:catch var="errar"><!-- errar为存储报错信息的变量 -->
<jsp:useBean id="user" class="JSPBasicGrammar.JSTLTagLib08.Catch" scope="request"></jsp:useBean>
<!-- 将标签体"黄彪"值存储到对象user中的不存在的属性xml中报错 -->
<c:set target="${user }" property="xml">黄彪</c:set>
</c:catch>
<!-- 将存储报错信息的errar的变量输出 -->
<c:out value="${errar }"></c:out>

</body>
</html>